home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Information
/
THINK C Digest
/
1993
/
93-02
< prev
next >
Wrap
Text File
|
1995-12-31
|
60KB
|
1,837 lines
Path: ucivax!gateway
From: TPZ4@vm.cnuce.cnr.it (Rodolfo Cardarelli)
Subject: Kalman filtering
Message-ID: <9302010447.aa12735@q2.ics.uci.edu>
Newsgroups: fa.think-c
Lines: 10
Date: 1 Feb 93 12:48:02 GMT
This question has actually nothing to do with Think-C, strictly speaking,
or Mac interface. Anyway, do you have the source of some Kalman filters
for real-time filtering?
Of course it would be nice if it's already in Ansi C, or, better, if it
uses somehow TCL.
Anyway any information will be very much appreciated.
Thank you
Rodolfo Cardarelli
TPZ4@ICNUCEVM.CNUCE.CNR.IT
Path: ucivax!gateway
From: k059509@hobbes.kzoo.edu ("Jason A. Bobier")
Subject: databases
Message-ID: <9302040012.AA26347@hobbes.kzoo.edu>
X-Mailer: ELM [version 2.3 PL11]
Newsgroups: fa.think-c
Lines: 19
Date: 4 Feb 93 00:10:16 GMT
Hey there,
I am planning on writing a medium size database program (50-75 thousand
records) that needs to be able to run under the Mac OS and DOS. I need to be
able to easily add my own functions in C & decent control over the user
interface.
What experiences have you fine folks had. Should I bother using a database
program at all, or just write the thing in C++, porting the necessary
objects.
Also, I would prefer that the database program be compiled rather than
interpretted. So I am basically writing my own program on top of a database
shell.
BTW, this is being cross-posted to Mac-L & think-c so sorry for any
repetitions.
thanx,
Jason A. Bobier
k059509@kzoo.edu
Path: ucivax!gateway
From: k059509@hobbes.kzoo.edu ("Jason A. Bobier")
Subject: databases
Message-ID: <9302040450.AA12650@hobbes.kzoo.edu>
X-Mailer: ELM [version 2.3 PL11]
Newsgroups: fa.think-c
Lines: 27
Date: 4 Feb 93 04:47:54 GMT
> However, the information in most databases is pretty important, and it
> seems to me that you stand to lose your data more easily if you try to
> write the program from scratch, as opposed to using an extensively
> tested cross-platform database such as FoxBase (dBase III+) or
> Omnis 5.
>
> Really it depends on how good you are with C and with Foxbase etc...
> (there is some learning there, too, of course) and how much time you
> have to devote tohe project.
>
> --Brian
> --Brian Pickerill <00BKPickeril@Leo.BSUvc.BSU.Edu>
>
>
>
>
I am pretty proficient at C, and have very limited experience with database
programs. I am thinking of having the majority done by June, with fair
amount of time to work on it (I'm still in school). I guess I am really
lookng for a good library to help me implement a relational database (some
good books on the subject would be useful as well :-). How easily do FoxBase
& Omnis 5 let you create your own application on their database formats?
Jason A. Bobier
k059509@kzoo.edu
Path: ucivax!gateway
From: C511899@mizzou1.missouri.edu (Andrew McAllister)
Subject: Think Reference 2.0 Wow, who do I thank?
Message-ID: <9302040952.aa20928@q2.ics.uci.edu>
Newsgroups: fa.think-c
Lines: 10
Date: 4 Feb 93 17:52:44 GMT
I recently received a copy of Think Reference 2.0 and have nothing but
praise to shower. (Actually, I did find one tiny little bug) My problem
is, I don't know who to thank. I would like to call or e-mail a
supervisor level person at Symantec/Think division, but have no contacts
there. Does anyone who fits the above description read this list? If so,
who are you. I would like to send you a detailed list of all of the things
I really like about this product. (I don't dislike anything)
Andrew McAllister
c511899@mizzou1.missouri.edu
Path: ucivax!gateway
From: eric.lavigne@lyon.e3x.fr (" (Tel 72350000)" )
Subject: Searching classes...
Message-ID: <281175754357eric*eric.lavigne@lyon.e3x.fr>
Autoforwarded: False
Newsgroups: fa.think-c
X400-Received: by /PRMD=inria/ADMD=atlas/C=FR/;
Relayed; 05 Feb 93 11:47:15+0100
X400-Received: by /PRMD=e3x/ADMD=atlas/C=FR/;
Relayed; 05 Feb 93 11:45:43+0000
Lines: 15
Date: 5 Feb 93 10:49:24 GMT
Importance: Normal
Hey,
I'm searching for a class which handle text of more than 32K.
Is there someone who knows if it exists shareware or commercial
versions of such a class ?
Is there other servers where I can find object classes ?
Thanks.
-- Eric
LAVIGNE@LYON.E3X.FR
Path: ucivax!gateway
From: huff@mcclb0.med.nyu.edu ("Edward J. Huff")
Subject: comp.sys.mac.programmer FAQ
Message-ID: <01GUCOQ7YTOY0001LD@MCCLB0.MED.NYU.EDU>
Content-transfer-encoding: 7BIT
Newsgroups: fa.think-c
Lines: 27
Date: 5 Feb 93 10:58:20 GMT
X-Envelope-to: think-c@ics.uci.edu
>This FAQ list is maintained by Daryl Spitzer. He can be reached at the
>following addresses:
>
> Internet: Daryl_Spitzer@mindlink.bc.ca
> SnailMail: 203 - 1385 West 12th Avenue
> Vancouver, BC (Canada)
> V6H 1M2
Lots of useful information. If you haven't seen it, it can be obtained
from pit-manager.mit.edu in the Usenet archive, archived under
macintosh/programmer-faq/part1 and macintosh/programmer-faq/part2
or from mail-server@pit-manager.mit.edu, send a message with "help"
for info, or of course on your local Usenet news server in comp.answers
and in comp.sys.mac.programmer (if it hasn't expired), and also
>This FAQ list is automatically posted once a week to comp.sys.mac.programmer.
>It is also available via anonymous ftp from ftp.cs.uoregon.edu [128.223.8.8]
>(user name 'anonymous', your internet address as password) in the files
>/pub/mac/csmp-faq-1 and /pub/mac/csmp-faq-2.
--
Edward J. Huff huff@mcclb0.med.nyu.edu (212)998-8465
Keck Laboratory for Biomolecular Imaging
NYU Chemistry Deptartment, 31 Washington Place, New York NY 10003
Path: ucivax!gateway
From: jharland@dogbox.acme.gen.nz (Jim Harland)
Subject: database code
Message-ID: <m5qHyB1w165w@dogbox.acme.gen.nz>
Content-Transfer-Encoding: 8bit
Comments: Usenet User
Content-Type: text/plain; charset=ISO-8859-1
Mime-Version: 1.0
Newsgroups: fa.think-c
Organization: The Dawghaus BBS, Palmerston North, New Zealand (+64 6 357 9245)
Content-Description: Untagged text converted to MIME.
Lines: 9
Date: 5 Feb 93 13:48:46 GMT
Profuse appologies to Andy Dent, who sent me the ctree info, and to
Jeff, who didn't, but has a somewhat similar problem to mine.
Jim
--
jharland@dogbox.acme.gen.nz (Jim Harland)
The Dawghaus BBS, Palmerston North, New Zealand (+64 6 357 9245)
Caller number 6098 Posting number: 1938 MS-DOS Waffle version 1.65
Path: ucivax!gateway
From: jharland@dogbox.acme.gen.nz (Jim Harland)
Subject: database code
Message-ID: <JBqHyB1w165w@dogbox.acme.gen.nz>
Content-Transfer-Encoding: 8bit
Comments: Usenet User
Content-Type: text/plain; charset=ISO-8859-1
Mime-Version: 1.0
Newsgroups: fa.think-c
Organization: The Dawghaus BBS, Palmerston North, New Zealand (+64 6 357 9245)
Content-Description: Untagged text converted to MIME.
Lines: 50
Date: 5 Feb 93 13:48:46 GMT
Hi to all those who asked me to forward what info my request for TCL
source code and database libraries generates. I most certainly will
pass anything I get on.
Come on guys! to those of you who assume that we all know as much as
you do. I'm a novice in this domain, as are many of those who have
asked me to share your pearls of wisdom.
I'm a 4D (ACI/ACIUS) developer who's decided that it's not on to
lumber prospective users of my products with the US$200 a runtime
engine for databases created in such development environments as 4D,
Omnis, and FoxPro costs. Actually, the product I'm working on now is
intended to make life easier for people doing almost any sort
research, and because I'm currently bankrupt I propose to give it
away, initially anyway.
I want to store information pertaining to literature searches, and to
personal communications (such as this). This will only ever be a
single user product. It is unlikely ever to contain more that 1000
records, with the average capacity requirement likely to be less than
half that.
I have the (TCL) user interface finished, and am happy to send a copy
of this shell to anyone who would like to get a better idea of what
I'm on about - presumably in order that they may then be better
placed to offer advice, or some other sort of assistance. I finished
the equivalent 4D product long ago. I am now treating it as a
prototype. This too is available (free, of course) to anyone who is
prepared to advise me, and who has a 4D 2.1 or better runtime engine
or developer kit.
There seem to be a number of us with quite similar requirements, so
please don't hold out on us.
Thanks in advance! - and in the most grovelling manner you can
imagine!
Jim
PS Special thanks to Jeff Garner for his information on the ctree
Plus library from Faircom. Faircom sent me an almost illegible 8 page
fax containing a lot of detail that was way over my head. (They can't
be expected to know what a dummy I am.) I suspect that if you were to
describe how you use ctree one or more of our group might benefit
enormously.
--
jharland@dogbox.acme.gen.nz (Jim Harland)
The Dawghaus BBS, Palmerston North, New Zealand (+64 6 357 9245)
Caller number 6097 Posting number: 1938 MS-DOS Waffle version 1.65
Path: ucivax!gateway
From: eric.lavigne@lyon.e3x.fr (" (Tel 72350000)" )
Subject: Requesting
Message-ID: <281177048057eric*eric.lavigne@lyon.e3x.fr>
Autoforwarded: False
Newsgroups: fa.think-c
X400-Received: by /PRMD=inria/ADMD=atlas/C=FR/;
Relayed; 05 Feb 93 15:21:07+0100
X400-Received: by /PRMD=e3x/ADMD=atlas/C=FR/;
Relayed; 05 Feb 93 15:21:20+0000
Lines: 16
Date: 5 Feb 93 14:21:17 GMT
Importance: Normal
Hey,
I'm searching for a class which handle text of more than 32K.
Is there someone who knows if it exists shareware or commercial
versions of such a class ?
Is there other servers where I can find object classes ?
Thanks.
-- Eric
LAVIGNE@LYON.E3X.FR
Path: ucivax!gateway
From: asaria@rrdtc.donnelley.com
Subject: Re: Requesting
Message-ID: <9302051926.AA23631@uu6.psi.com>
In-Reply-To: Your message of 05 Feb 93 14:21:17 +0000.
<281177048057eric*eric.lavigne@lyon.e3x.fr>
Newsgroups: fa.think-c
Lines: 22
Date: 5 Feb 93 19:33:08 GMT
Hey,
I'm searching for a class which handle text of more than 32K.
Is there someone who knows if it exists shareware or commercial
versions of such a class ?
Is there other servers where I can find object classes ?
Thanks.
-- Eric
LAVIGNE@LYON.E3X.FR
The class your looking for is called CPEditText. I have it on my mac
(but haven't used it). If you can't find for ftp at one of the archive
sites, let me know and I'll send it to you.
Riyaz
asaria@donnelley.com
Path: ucivax!gateway
From: dent@dialix.oz.au (Andrew Dent)
Subject: ctree classes
Message-ID: <9302060759.aa15439@perth.DIALix.oz.au>
X-Mailer: SCO System V Mail (version 3.2)
Newsgroups: fa.think-c
Lines: 13
Date: 6 Feb 93 00:04:00 GMT
Hi all
This is being posted to both the tcl & think-c groups due to questions on each
I have an 11kb file which is a description of my ctree wrapper classes and how
I used them in a TCL application.
I thought I'd just mail it direct to anyone specifically interested, rather than
choke the list.
Andy Dent (A.D. Software - Mac & VAX programming)
94 Bermuda Dve, BALLAJURA Western Australia 6066
Phone/Fax: 09 249 2719 (local) +619 249 2719 (International)
Internet: dent@DIALix.oz.au Compuserve: 100033,3241
Path: ucivax!gateway
From: ingles@engin.umich.edu (Ray Ingles)
Subject: Re: Requesting
Message-ID: <5e016a388.0034237@wormwood.engin.umich.edu>
Newsgroups: fa.think-c
Lines: 2
Date: 6 Feb 93 04:41:12 GMT
Thanks!
Ray
Path: ucivax!gateway
From: nagel@ics.uci.edu (Mark Nagel)
Subject: ARCHIVE: te32k
Message-ID: <19716.729143318@ics.uci.edu>
Newsgroups: fa.think-c
Reply-To: think-c-request@ics.uci.edu
Lines: 24
Date: 8 Feb 93 03:48:46 GMT
Subject: TE32K, TextEdit replacement package
Date: Sun, 3 Jan 1993 11:14:40 -0500
From: Roy Wood <rrwood@canrem.com>
Here's the TE32K package, a replacement for the standard TextEdit routines.
The major difference between TE32K and TextEdit is that TE32K allows for
manipulation of text records LARGER than 32K.
The package consists of C source code and minimal documentation. Generally,
if you can use TextEdit, you already know how to use TE32K. The package is
designed to be a drop-in replacement for TextEdit, so basically no changes
to your existing code are necessary. (Liar! You have to change all your calls
from TE routines to TE32K routines! Okay, but that's just a matter of a global
search and replace-- the algorithmic stuff doesn't have to be changed)
TE32K is provided more-or-less free to everyone, though I ask that if you
use it in a piece of software you sell, then please donate $1 to the World
Wildlif Fund.
Bugs in the source are provided at no extra charge, of course :)
-Roy Wood (rrwood@canrem.com)
[saved as: /mac/think-c/code/te32k.hqx; 70K]
Path: ucivax!gateway
From: mihkel@tb.wr.wallac.fi (Mihkel Tammepuu)
Subject: TE and invisible characters
Message-ID: <9302080928.AA04545@tb.wr.wallac.fi>
X-Mailer: ELM [version 2.2 PL0]
Newsgroups: fa.think-c
Lines: 20
Date: 8 Feb 93 09:28:23 GMT
Hello folks,
I use TE to display text and I use a font which includes also the
control characters 0x00 - 0x1f, i.e. small cr for 0x13, small nl for 0x0A etc.
However, I do not want to display them.
On System 7 it's OK, but on sys 6, TE displays a small cr
at the end of every line.
So it seems to me that there is some (undocumented?) "show invisbles" flag
which is set by default to false on sys 7 and to true on sys 6. Does anybody
know more about it?
What should I do to cure the problem? I edited the cr character of the font
to "spcace" but it does not help - now it displays an empty rectangle.
How can I remove the control characters from the font so that it starts from
0x20 ?
Mihkel Tammepuu
mihkel@wallac.fi
Path: ucivax!gateway
From: C511899@mizzou1.missouri.edu (Andrew McAllister)
Subject: Writing Code Resources, Help needed
Message-ID: <9302081221.aa22053@q2.ics.uci.edu>
Newsgroups: fa.think-c
Lines: 30
Date: 8 Feb 93 20:21:13 GMT
I am writing a set of code resources in ThinkC and have a question regarding
saving registers and system globals.
My situation: MacProlog includes hooks to use CODE resources compiled with
Think C or MPW C. MacProlog opens the resource file and passes control and
function parameters to the code resource. Since MacProlog doesn't provide
the window and image manipulation tools I need, I'm using Think C. So far
everything is working, but I hate to keep going only to find out that I'll
run into trouble later. My C code looks like this:
#include <SetUPA4.h>
main(x,y,z)
long x;
long y;
long z;
{
RememberA0();
SetUpA4();
// ... open windows and files, use CopyBits, Lock handles, update windows
// ... and lots more
RestoreA4();
}
I have noticed that A4 isn't really mentioned in Inside Macintosh or Think
Reference, but A5 is. Has think just written these A4 routines to make
life easier, or should I be saving and restoring the A5 registers too or
instead. Essentially all of the info passed to and from the Code rsrcs
is passed in the function call. But I want to make sure that all of the
windows and data structures I create inside the code resource don't get
overwritten by the OS or memory manager.
Again everything seems to work just fine so..If it ain't broke...
Andrew McAllister
c511899@mizzou1.missouri.edu
Path: ucivax!gateway
From: P30WCC9%NIU.BITNET@uicvm.uic.edu (WES COVALT)
Subject: XWindoids
Message-ID: <9302081256.aa26255@q2.ics.uci.edu>
Newsgroups: fa.think-c
Lines: 16
Date: 8 Feb 93 20:56:44 GMT
I'm writing code for an external window in HyperCard. I'm having
trouble getting the Event Record:
XWEventInfoPtr theBlockPtr;
EventRecord theEvent;
WindowPtr theWindow;
theBlockPtr = (XWEventInfoPtr) (paramPtr->params{1});
theEvent = theBlockPtr->event;
theWindow = theBlockPtr->eventWindow;
I'm not getting any compiler errors, but I know I'm doing something
wrong (stupid?). Can anyone shed some light on the subject?
Thank you,
Wes
Path: ucivax!gateway
From: yangq@cs.wmich.edu (Qingkuang Yang)
Subject: (none)
Message-ID: <9302082053.AA02957@cs.wmich.edu>
X-Mailer: ELM [version 2.3 PL11]
Newsgroups: fa.think-c
Lines: 1
Date: 8 Feb 93 21:00:09 GMT
unscribe
Path: ucivax!gateway
From: ntai@oberon.com (Naoyuki Tai)
Subject: TE32K, TextEdit replacement package
Message-ID: <9302092109.AA06641@rosencrantz>
In-Reply-To: <19716.729143318@ics.uci.edu> "nagel@ics.uci.edu"
Newsgroups: fa.think-c
Lines: 30
Date: 9 Feb 93 22:23:46 GMT
Roy> Subject: TE32K, TextEdit replacement package
Roy> Date: Sun, 3 Jan 1993 11:14:40 -0500
Roy> From: Roy Wood <rrwood@canrem.com>
Roy> Here's the TE32K package, a replacement for the standard TextEdit routines.
Roy> The major difference between TE32K and TextEdit is that TE32K allows for
Roy> manipulation of text records LARGER than 32K.
Roy> The package consists of C source code and minimal documentation. Generally,
Roy> if you can use TextEdit, you already know how to use TE32K. The package is
Roy> designed to be a drop-in replacement for TextEdit, so basically no changes
Roy> to your existing code are necessary. (Liar! You have to change all your calls
Roy> from TE routines to TE32K routines! Okay, but that's just a matter of a global
Roy> search and replace-- the algorithmic stuff doesn't have to be changed)
Roy> TE32K is provided more-or-less free to everyone, though I ask that if you
Roy> use it in a piece of software you sell, then please donate $1 to the World
Roy> Wildlif Fund.
Roy> Bugs in the source are provided at no extra charge, of course :)
Thanks 1E6, Roy. This helps me a lot!!
I'm going to add multi-byte character support to it. (Or minimal
support of Script Mgr, that is what I need to use it with Kanji.)
Sometime later, I'm willing that I post the extended one with
rising the donation to $2. :-)
--
ntai@oberon.com (Internet), ntai@o-pj.tis.co.jp (Junet)
Naoyuki Tai, Oberon Software, Inc. TEL: 617-494-0990 FAX: 617-494-0414
Path: ucivax!gateway
From: joshr@ptolemy.arc.nasa.gov (Joshua Rabinowitz)
Subject: hypercard events
Message-ID: <9302102222.AA25575@ptolemy.arc.nasa.gov>
Newsgroups: fa.think-c
Lines: 33
Date: 10 Feb 93 22:21:36 GMT
Hey all,
Does anyone know if hypercard interprets events solely
in the order they are in the queue, or does
it give certain types of events (like mouse clicks) higher
priority than others (like apple events)?
The reason I ask is such: I have a program that send scripts to HC
in a 'misc'/'dosc' apple event. The problem is, that if my app sends an
AE to HC, and the user quickly switches to HC and clicks a few buttons, the button
clicks may be interpreted before the AE.
I thought maybe the event manager prioritizes events, but could find no such
text in IM6.
Is the order of event interpretation possibly the problem?
Or have I sent something wrong?
BTW, i am sending the event with the kHighPriority flag, (which puts it at front of
queue), not the kNormalPriority flag (which puts it a end of event queue).
FYI: HC2.1, mac IIci, 8megs RAM, few extensions
If you could reply by email, I would be thankful. I will post summary to group
if there is interest or I find something interesting.
--
----------------------------------
#include <std/disclaimer.h> Josh Rabinowitz, Mac TCL programmer
joshr@kronos.arc.nasa.gov
"Me lost my cookie at the disco." -- Cookie Monster
Path: ucivax!gateway
From: joshr@ptolemy.arc.nasa.gov (Joshua Rabinowitz)
Subject: Re: hypercard events
Message-ID: <9302110056.AA27117@ptolemy.arc.nasa.gov>
Newsgroups: fa.think-c
Lines: 54
Date: 11 Feb 93 00:55:24 GMT
> From potts@oit.itd.umich.edu Wed Feb 10 16:47:59 1993
> Date: Wed, 10 Feb 93 19:44:25 EST
> To: Joshua Rabinowitz <joshr@ptolemy.arc.nasa.gov>
> From: Paul Potts <potts@oit.itd.umich.edu>
> Subject: Re: hypercard events
> Content-Length: 1957
>
> >Hey all,
> >
> >Does anyone know if hypercard interprets events solely
> >in the order they are in the queue, or does
> >it give certain types of events (like mouse clicks) higher
> >priority than others (like apple events)?
>
> I believe it is just first-come first-served, and the size of the
> event queue is limited (20 or some such). There was a problem early
> on in Mac software where an event type was dedicated to network
> events, but it turned out to be impractical, because in a busy
> environment the network event would not be processed before it
> was gone from the queue, so that got changed.
>
> >
> >The reason I ask is such: I have a program that send scripts to HC
> >in a 'misc'/'dosc' apple event. The problem is, that if my app sends an
> >AE to HC, and the user quickly switches to HC and clicks a few buttons, the button
> >clicks may be interpreted before the AE.
>
> Here is my interpretation of what I think is happening, although I
> could be wrong:
>
> AppleTalk is based on interrupts, which means that a Mac on the net can
> get a packet and process it at interrupt time, while the app in front
> continues to run.
>
> When you send an AppleEvent, you are basically doing it synchronously -
> that is, waiting for the event to get built and sent before continuing.
> When it is received, an app can be running in the front, (switching to
> Hypercard for example) while a process that runs at interrupt time catches
> the AppleTalk packet with the AppleEvent in it, and sends it through the
> layers to have the AE translated, interpeted, and then put in the event
> queue. Since this is happening in the background at interrupt time, the
> app in front (Hypercard) is not blocking events while waiting for the
> event; it continues to process events normally until the AppleEvent
> gets interpreted and stuck in the event queue.
>
> I am not a real Mac guru though, so I could be wrong in all or part of
> the above explanation. Hope this helps anyway...
> -Paul Potts
> potts@oit.itd.umich.edu
>
>
So, if you are correct, short of having the sending app wait
without calling WaitNextEvent, what can I do to alleviate the problem?
Path: ucivax!gateway
From: eric.lavigne@lyon.e3x.fr (" (Tel 72350000)" )
Subject: Searching for OODB...
Message-ID: <281227503757eric*eric.lavigne@lyon.e3x.fr>
Autoforwarded: False
Newsgroups: fa.think-c
X400-Received: by /PRMD=inria/ADMD=atlas/C=FR/;
Relayed; 11 Feb 93 11:28:53+0100
X400-Received: by /PRMD=e3x/ADMD=atlas/C=FR/;
Relayed; 11 Feb 93 11:30:37+0000
Lines: 15
Date: 11 Feb 93 10:29:06 GMT
Importance: Normal
I'm searching informations about Object Oriented DataBases
on macintosh or other computers.
If you are a user of if you know about:
- NeoAccess
- Versant
- or another one OODB
I will be very happy to get your comments.
Thanks.
-- Eric
LAVIGNE@LYON.E3X.FR
Path: ucivax!gateway
From: hagar@cats.ucsc.edu
Subject: error strings
Message-ID: <9302111800.AA17133@si.ucsc.edu>
Newsgroups: fa.think-c
Lines: 14
Date: 11 Feb 93 18:00:53 GMT
Hey all:
I remeber dimly someone posting information about code
to convert OSErr codes to strings, for example
-43 -> "file Not found". The strings were not detailed, but
it turns out would fit my needs exactly.
Does anyone know where I can find this? I've tried using archie
but I get the reply "dirsend timed out" or something similar.
Thanks very much
joshr@kronos.arc.nasa.gov
Path: ucivax!gateway
From: francis@csli.stanford.edu (Straw Man Dude)
Subject: Preferences
Message-ID: <9302112059.AA18674@Csli.Stanford.EDU>
X-Mailer: ELM [version 2.3 PL11]
Newsgroups: fa.think-c
Lines: 11
Date: 11 Feb 93 21:00:16 GMT
Hello,
I'm looking to add preferences to a C++ app that I have written.
Is there a class somewhere that already exists that implements the
file persistance etc..? I could repackage a Think C one also so I'm
interested in that, too.
Thanks for any pointers,
dave francis
Path: ucivax!gateway
From: Jean-Marie.Laborde@imag.fr
Subject: Re: error strings
X-Sender: laborde@imag.fr
Message-ID: <9302120859.AA15780@imag.imag.fr>
Newsgroups: fa.think-c
Lines: 25
Date: 12 Feb 93 09:00:05 GMT
>I remeber dimly someone posting information about code
>to convert OSErr codes to strings, for example
>-43 -> "file Not found". The strings were not detailed, but
>it turns out would fit my needs exactly.
>
I wrote sometimes a code that shows nicely in a modal dialog
an explicit text for all registred xxxErr.
From the dialog it is possible to "ExitToShell", enter the Debugger
or try to continue (safely or not).
The strings are those from Apple as "furnished" in the DA System Errors
(System Errors 3.1)
If there is some interest for this piece of code
(about 600 lines... not including the resource containing the strings that
can ne updated or changed by the end user...)
I can post the source and corrsponing TEXT resource in the Think-C group.
Please let me know.
Jean-Marie Laborde laborde@imag.fr
Laboratoire de Structures Discretes et de Didactique - IMAG
Universite Joseph Fourier - CNRS BP 53x 38041 Grenoble cedex FRANCE
(33) 76 51 46 10 (sec 76 51 46 16) (fax 76 51 45 55)
Path: ucivax!gateway
From: evans@natural.com (Christopher Evans)
Subject: Think Reference 2.0
Message-ID: <9302122153.AA28875@natural.com>
Newsgroups: fa.think-c
Lines: 14
Date: 12 Feb 93 22:21:38 GMT
Has everyone seen the Think Reference 2.0 guy move yet?
<==================================Q======================================>
Chris Evans | Internet: evans@natural.com
Development | Phone: 617-876-4876
Natural Intelligence, Inc. | FAX: 617-492-7425
2067 Massachusetts Avenue | AppleLink: NATURAL
Cambridge MA 02140 | or evans@natural.com@INTERNET#
When in doubt, use brute force.
-- Ken Thompson
Path: ucivax!gateway
From: evans@natural.com (Christopher Evans)
Subject: Think Reference Guy Part 2
Message-ID: <9302131623.AA00158@natural.com>
Newsgroups: fa.think-c
Lines: 21
Date: 13 Feb 93 16:39:27 GMT
Put Think Reference 2.0 in the background for a while. I'm not sure
how long, but 15-20 minutes is usually sufficient. When you bring it to
the front again, watch the guy closely. I would tell you what he does
but its more fun to find out yourself.
Somebody at Symantec is evil to put this in there with a timer on
it!
<==================================Q======================================>
Chris Evans | Internet: evans@natural.com
Development | Phone: 617-876-4876
Natural Intelligence, Inc. | FAX: 617-492-7425
2067 Massachusetts Avenue | AppleLink: NATURAL
Cambridge MA 02140 | or evans@natural.com@INTERNET#
Finagle's fourth Law:
Once a job is fouled up, anything done to improve it only
makes it worse.
Path: ucivax!gateway
From: russne@catseq.catlin.edu (Russ Nelson)
Subject: Re: Think Reference Guy Part 2
Message-ID: <Pine.2.27-experimental.9302141711.A20778@catseq.catlin.edu>
In-Reply-To: <9302131623.AA00158@natural.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mime-Version: 1.0
Newsgroups: fa.think-c
Lines: 31
Date: 15 Feb 93 01:10:56 GMT
I was wondering why he moved! I noticed it once, but couldn't get it to
happen again. My personal favorite is still the DogCow, though.
Russ Nelson * internet: russne@catseq.catlin.edu * bitnet: nelson@catlin
->This came directly from a computer and is not to be doubted or disbelieved.<-
On 13 Feb 1993, Christopher Evans wrote:
>
> Put Think Reference 2.0 in the background for a while. I'm not sure
> how long, but 15-20 minutes is usually sufficient. When you bring it to
> the front again, watch the guy closely. I would tell you what he does
> but its more fun to find out yourself.
>
> Somebody at Symantec is evil to put this in there with a timer on
> it!
>
> <==================================Q======================================>
> Chris Evans | Internet: evans@natural.com
> Development | Phone: 617-876-4876
> Natural Intelligence, Inc. | FAX: 617-492-7425
> 2067 Massachusetts Avenue | AppleLink: NATURAL
> Cambridge MA 02140 | or evans@natural.com@INTERNET#
>
> Finagle's fourth Law:
> Once a job is fouled up, anything done to improve it only
> makes it worse.
>
Path: ucivax!gateway
From: NLEONARD@rcnvms.rcn.mass.edu
Subject: musician looking for help
Message-ID: <01GUTP8ZHQD2CHHX39@RCNVMS.RCN.MASS.EDU>
Content-transfer-encoding: 7BIT
MIME-version: 1.0
Newsgroups: fa.think-c
X-VMS-To: IN%"think-c@ics.uci.edu"
Lines: 13
Date: 17 Feb 93 15:20:25 GMT
I am writing think C programs that I use in concerts of interactive
saxophone/computer music. The segment of code which hold my source
code is about to exceed 32K. The manual is a bit cryptic. Is there
an easy way to have one project with two source segments of 32K which
are loaded at the same time and can talk to eachother?
I am not on this list, please reply to:
nleonard@ecn.mass.edu
Neil Leonard
Computer Arts
Massachusetts College of Art
Path: ucivax!gateway
From: dak@sq.com
Subject: Re: musician looking for help
Message-ID: <m0nOtc0-0003bPC@sq.com>
In-reply-to: Your message of "Wed, 17 Feb 93 10:20:25 EST."
<01GUTP8ZHQD2CHHX39@RCNVMS.RCN.MASS.EDU>
Newsgroups: fa.think-c
Orig-To: NLEONARD@rcnvms.rcn.mass.edu
Lines: 14
Date: 17 Feb 93 18:35:22 GMT
| I am writing think C programs that I use in concerts of interactive
| saxophone/computer music. The segment of code which hold my source
| code is about to exceed 32K. The manual is a bit cryptic. Is there
| an easy way to have one project with two source segments of 32K which
| are loaded at the same time and can talk to eachother?
No problem. Drag a file below the gray line in the project window;
it will be in a new segment.
Dak
David A. 'Dak' Keldsen of SoftQuad, Inc. email: dak@sq.com phone: 416-239-4801
"A facility for quotation covers the absence of original thought."
-- Lord Peter Wimsey (Dorothy L. Sayers, "Gaudy Night")
Path: ucivax!gateway
From: hagenau@sesg1.dwhl.de (Rainer Hagenau/oi-es)
Subject: Revision Management Tool like RCS ?
Message-ID: <199302181008.DN12596@mail.Germany.EU.net>
Mailer: Elm [revision: 70.30]
Newsgroups: fa.think-c
Lines: 17
Date: 20 Feb 93 06:27:05 GMT
Hi everyone,
I am looking for a revision management tool like UNIX RCS.
Does anybody know one ?
An embedded tool for think-C is fine, but ...
I like to get a tool that works even on every Mac document.
--
Grusz/Greetings
Rainer Hagenau
Software Engineering Support, oi-bs Kst. 8361
Draegerwerk AG, Moislinger Alle 53/55, 2400 Luebeck 1
- Germany -
Tel. 0451 / 882-4132 Fax. 0451 / 882-4022
e-mail: hagenau@sesg1.dwhl.de
Path: ucivax!gateway
From: franklin@eecs.ucdavis.edu (Paul Franklin)
Subject: Re: Revision Management Tool like RCS ?
Message-ID: <9302202324.AA28508@endive.eecs.ucdavis.edu>
In-Reply-To: Your message of "20 Feb 93 06:27:05 PST."
<199302181008.DN12596@mail.Germany.EU.net>
Newsgroups: fa.think-c
Reply-To: franklin@ece.ucdavis.edu
Lines: 28
Date: 20 Feb 93 23:24:32 GMT
Rainer Hagenau's message dated: 20 Feb 93 06:27:05 PST
>Hi everyone,
>
>I am looking for a revision management tool like UNIX RCS.
>Does anybody know one ?
RCS, in its latest incarnation, is part fo the GNU software
distribution. This means that if you wanted to, you could port it
(you'd also need GNU diff) to the Mac (despite the FSF's reluctance to
support Apple in any way, shape or form).
It's been a project that I've wanted to do but probably won't have
time for until at least this fall. So, the real question is, is
anyone else up to it?
If anyone else does it, how about modifying the actual code as little
as possible? I imagine you could just rewrite main() and add all of
the event loop stuff and menus, and throw all of the source files into
one project and it'd probably all work. Oh, and you'd have to write
an interface between rcs and diff (probably the easiest way is just to
imbed diff in rcs; you could then also add menu options for diff as
well).
Oh, there's also a commercial version of SCCS for the Mac; I've never
used it and I don't know if it's any good.
--Paul Franklin
Path: ucivax!gateway
From: detobin@cs.tcd.ie
Subject: Re: Revision Management Tool like RCS ?
Message-ID: <9302221024.AA22268@ashe.cs.tcd.ie>
Newsgroups: fa.think-c
Lines: 13
X-Mts: smtp
Date: 22 Feb 93 10:25:46 GMT
X-Envelope-to: think-c@ics.uci.edu
Have a look in 'ftp.maths.tcd.ie:/pub/Mac' there is some interesting
gnu stuff there.
Donal.
o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o
| detobin@cs.tcd.ie | |
| +353-01-702-1797 | 'Sucess is a Hockey player' |
| | Cryptic would be saying life is obivious |
o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o
| Computer Architechture Group Department of Computer Science |
| Trinity College Dublin Ireland |
o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o=- -=o
Path: ucivax!gateway
From: taph2@central.sussex.ac.uk (David William Joyce)
Subject: Please unscribe me...
Via: uk.ac.sussex.central; Mon, 22 Feb 1993 13:44:11 +0000
Message-ID: <25466.9302221237@solx1.central.sussex.ac.uk>
X-Mailer: ELM [version 2.3 PL11]
Newsgroups: fa.think-c
Lines: 3
Date: 22 Feb 93 14:10:50 GMT
Please unscribe me from the Think-C mail-list. Thank you.
Path: ucivax!gateway
From: asaria@rrdtc.donnelley.com
Subject: Aliases & Cursors
Message-ID: <9302222101.AA19275@uu6.psi.com>
Newsgroups: fa.think-c
Lines: 78
Date: 22 Feb 93 21:09:11 GMT
Hi,
I apologize for the vague subject line but I couldn't think of anything
better. I have a question about the cursor changeing when an alias of
a running application is double-clicked.
Attached is the source for a very simple program (a gutted version of an
EventLoop). I compile and build an application, and everything is
fine when it's run (it just sits there like it should).
I can run the application, switch to the finder, and double-click on the
application's icon, the cursor momentarily changes from an arrow to a clock
and then into an arrow as when the application is in the foreground -- no
problems.
However, if I create an alias to the application, run the application,
switch to the finder and double-clike on the ALIAS's icon, the cursor
changes to the clock, the application comes into the foreground, but the
clock cursor doesn't change back to an arrow.
I tried this with "commercial" applications, and the cursor goes from arrow
to clock to arrow just fine.
What's going on here? Does my application have to keep track of when it's
brought to the foreground (and how do I do this)?
I'd appreciate any help. Thanks.
Riyaz
asaria@donnelley.com
-----------------------Source follows--------------------------------------
#include "FASTBatch.h"
void main()
{
EventRecord theEvent;
WindowPtr theWindow;
Point mountPoint;
short done = false;
OSErr errorCode;
InitToolbox(); /* basic tool box inits */
done = false;
while(done != true)
{
if(WaitNextEvent(everyEvent, &theEvent, 10L, nil))
{
switch(theEvent.what)
{
case mouseDown:
break;
case keyDown:
done = true;
break;
case activateEvt:
break;
case updateEvt:
theWindow = (WindowPtr) theEvent.message;
BeginUpdate(theWindow);
EndUpdate(theWindow);
break;
default:
break;
}
}
}
}
Path: ucivax!gateway
From: taihou@iss.nus.sg (Tng Tai Hou)
Subject: Apple-ISS Jobs in Singapore
Message-ID: <9302230819.AA10869@iss.nus.sg>
Newsgroups: fa.think-c
Lines: 23
Date: 23 Feb 93 08:18:18 GMT
ATTN: SOFTWARE ENGINEERS
RE: JOB OPENING
The Apple-ISS Research Center at the Institute of Systems Science, National
University of Singapore, is soliciting applications from Mac software
engineers. Applicants with experience in speech and/or handwriting research
are especially encouraged to apply. The positions involve relocation to
Singapore.
The Apple-ISS Research Center was formed early this year as a joint venture
between Apple Computer and the Institute of Systems Science. The Center
focuses on speech synthesis, speech recognition and handwriting recognition for
Asian languages.
Please send your applications to:
Dr. George White
Apple-ISS Research Center
Heng Mui Keng Terrace
Kent Ridge, Singapore 0511
Tel: (65) 772-6571
Fax: (65) 776-4005
Email: white.g@applelink.apple.com
Path: ucivax!gateway
From: brians@fluxes.plk.af.mil ("Brian J. Scamman")
Subject: Animation with offscreen grafPort
Message-ID: <9302231625.AA11501@fluxes.plk.af.mil>
Newsgroups: fa.think-c
Lines: 12
Date: 23 Feb 93 16:25:27 GMT
Hi,
I've just started programming on the Mac, and wanted to do some simple
animation. I thought I'd start with a simple bouncing circle. The problem I'm
having is that its _very_ slow. I have tried drawing directly to the window,
as well as using an offscreen grafPort and then using CopyBits to copy
the bitmap to the window. (Drawing directly to the window was faster). I've
seen some other programs that can perform animation much faster. Is there some
trick that I'm missing?
Any help would be appriciated.
Brian
Path: ucivax!gateway
From: mxmora@unix.sri.com (Matthew Xavier Mora)
Subject: Re: Animation with offscreen grafPort
Message-ID: <9302231832.AA17432@unix.sri.com>
Newsgroups: fa.think-c
Lines: 31
Date: 23 Feb 93 18:32:12 GMT
At 4:25 PM 2/23/93 +0000, Brian J. Scamman wrote:
>Hi,
>
>I've just started programming on the Mac, and wanted to do some simple
>animation. I thought I'd start with a simple bouncing circle. The problem I'm
>having is that its _very_ slow. I have tried drawing directly to the window,
>as well as using an offscreen grafPort and then using CopyBits to copy
>the bitmap to the window. (Drawing directly to the window was faster). I've
>seen some other programs that can perform animation much faster. Is there some
>trick that I'm missing?
How big is your sprite that your are drawing? How are you drawing the circle?
Please explain the steps you are doing in your animation and we can tell
you how to improve it. I get excellent speed using offsceen buffers.
Things to consider:
Copy rectangular areas
Make sure depths match
Copy only data that you need (minimize or eliminate clipping)
Align bitmaps/pixmaps
Read tech note "of time and space and copybits)
Matt
__________________________________________________________________
Matthew Xavier Mora The keeper of the UMPG
SRI International Matt_Mora@QM.sri.com
[Sent using Eudora 1.3] mxmora@unix.sri.com
__________________________________________________________________
Path: ucivax!gateway
From: NLEONARD@rcnvms.rcn.mass.edu
Subject: artists looking for help with serial ports
Message-ID: <01GV2CKGLJIACHIN5W@RCNVMS.RCN.MASS.EDU>
Content-transfer-encoding: 7BIT
MIME-version: 1.0
Newsgroups: fa.think-c
X-VMS-To: IN%"think-c@ics.uci.edu"
Lines: 20
Date: 23 Feb 93 19:57:22 GMT
Massachusetts College of Art teaches a course in creative robotics.
We are trying to hook a Motarola 68HC11EVB to a mac serial port.
The baud rate is 9600. RS232 port built in.
Can anyone recommend a source for code to talk to the Mac serial
port? We are also interested in any information on development
environments for the 68HC11, mac specific.
Any sample code to talk to the Mac serial port would be appreciated
very much.
Thank you in advance,
Neil Leonard
nleonard@ecn.mass.edu
Please send responses directly to me, I do not subscribe to this
list.
Path: ucivax!gateway
From: franklin@eecs.ucdavis.edu (Paul Franklin)
Subject: Re: Aliases & Cursors
Message-ID: <9302232026.AA12978@endive.eecs.ucdavis.edu>
In-Reply-To: Your message of "22 Feb 93 21:09:11 PST."
<9302222101.AA19275@uu6.psi.com>
Newsgroups: fa.think-c
Reply-To: franklin@ece.ucdavis.edu
Lines: 36
Date: 23 Feb 93 20:27:17 GMT
Your message dated: 22 Feb 93 21:09:11 PST
>
>I can run the application, switch to the finder, and double-click on the
>application's icon, the cursor momentarily changes from an arrow to a clock
>and then into an arrow as when the application is in the foreground -- no
>problems.
This is done by one of the standard initializaion calls; I think it's
the call to initialize QuickDraw.
>However, if I create an alias to the application, run the application,
>switch to the finder and double-clike on the ALIAS's icon, the cursor
>changes to the clock, the application comes into the foreground, but the
>clock cursor doesn't change back to an arrow.
Yes, you do need to do this yourself.
>I tried this with "commercial" applications, and the cursor goes from arrow
>to clock to arrow just fine.
>
>What's going on here? Does my application have to keep track of when it's
>brought to the foreground (and how do I do this)?
The general answer is to set the cursor whenever you get an event to
activate a window. This should work under System 6 as well a System
7. Note that in the (now outdated) System 6 without MultiFinder, you
should be doing this anyways so you don't get stuck with a DA's
cursor. So, the problem has been around even before MultiFinder.
For a MultiFiner-only (including System 7) application, you should
keep track of suspend and resume events, and generate your own
internal window activation events, but the above will work if you
don't have the 'accept suspend/resume events' flag set.
--Paul Franklin
Path: ucivax!gateway
From: tj@cs.ucla.edu (Tom Johnson)
Subject: Re: Control Panel for Multisync Monitors
Message-ID: <9302232217.AA01924@kona.cs.ucla.edu>
In-Reply-To: <9302232148.AA11644@tamarack.cray.com> from "John Matthews" at Feb 23, 93 03:48:56 pm
X-Mailer: ELM [version 2.4 PL21]
Content-Type: text
Content-Length: 1095
Newsgroups: fa.think-c
Lines: 26
Date: 23 Feb 93 22:17:17 GMT
John Matthews writes:
>
> I agree that there ought to be a control panel to reconfigure the Mac video
> (for resolution change).
>
> Given all this, I know it can be done.... I think the writers of depth-charge
> and depth-gauge could do this given their knowledge of the color bit depth
> stuff.
Unfortunately their knowledge of the colour stuff doesn't extend to various
companies' video card info. I know. I'm one of the DepthGauge developers.
(I did the low level patching stuff - Dan Segel handled much of the
interface stuff).
It's an interesting idea....maybe if we can get enough info from the
different hardware developers we could look into adding the functionality.
Unfortunately, neither Dan nor I feels particularly motivated to put in
more hours on DepthGauge (though we will fix bugs that people report, we
don't have any plans for future upgrades). When we add up the amount of
shareware payments we received, and figure in the number of hours we spent,
we earned less than $1.00 per hour. A lot less.
But we will add the idea to our list of possible upgrades.
Tom-
Path: ucivax!gateway
From: igorl@uiuc.edu (Igor Livshits)
Subject: That little patcher...
X-Sender: igorl@ncsa.uiuc.edu
Message-ID: <9302240046.AA12856@pluto.ncsa.uiuc.edu>
Newsgroups: fa.think-c
Lines: 9
Date: 24 Feb 93 00:46:49 GMT
Hello,
Does anyone remember the name of the patcher application that installs a
link for control-click between the Think C editor and Think reference 1.0?
Thank you, Igor
_____
NCSA-UIUC, e:igorl@uiuc.edu, p:(217) 244-5606
Path: ucivax!gateway
From: LAFARCIOLA@ichcmns.cmns.mnegri.it (max)
Subject: How to change volume refence number...THANKS
Message-ID: <7633DB6AA51F20019C@ichcmns.cmns.mnegri.it>
Content-transfer-encoding: 7BIT
Newsgroups: fa.think-c
X-VMS-To: in%"think-c@ics.uci.edu"
Lines: 8
Date: 24 Feb 93 13:47:50 GMT
Hello,
THANK YOU VERY MUCH for your helps!!!
The solution was to use SetVol and GetVol simply,
Massimo
E-Mail: lafarciola@ichcmns.cmns.mnegri.it
Organization: "Mario Negri Sud" Institute
Path: ucivax!gateway
From: igorl@uiuc.edu (Igor Livshits)
Subject: Re: That little patcher...
X-Sender: igorl@ncsa.uiuc.edu
Message-ID: <9302241849.AB16785@pluto.ncsa.uiuc.edu>
Newsgroups: fa.think-c
Lines: 20
Date: 24 Feb 93 18:49:21 GMT
>The patch is called "Reference Link" and is available from sumex-aim. You
>need THINK Reference 2.0, not 1.0.
>
>Brian
Howdy,
Several people responded with Reference Link. I am looking for the other,
earlier patcher. I just got THINK Ref 2.0 and would like to start using
Reference Link. As such, I would like to remove the earlier patch from my
THINK C editor.
That earlier patch also allowed for balanced parantheses and other goodies.
It was a direct patch of the editor, not an extension.
Thanks, igor
_____
NCSA-UIUC, e:igorl@uiuc.edu, p:(217) 244-5606
Path: ucivax!gateway
From: igorl@uiuc.edu (Igor Livshits)
Subject: Re: That little patcher...
X-Sender: igorl@ncsa.uiuc.edu
Message-ID: <9302250122.AA18441@pluto.ncsa.uiuc.edu>
Newsgroups: fa.think-c
Lines: 11
Date: 25 Feb 93 03:44:03 GMT
>What you're looking for is 'text-editor-patches-123.hqx' which can be found
>in the info-mac/ex directory on sumex.stanford.edu (anonymous ftp).
Yes! That's the one.
Thank you to all who responded and to Marc Parenteau for the tip!
igor
_____
NCSA-UIUC, e:igorl@uiuc.edu, p:(217) 244-5606
Path: ucivax!gateway
From: isler@gradient.cis.upenn.edu (Sylvia Isler)
Subject: GetNewWindow function call in Think C 5.04
Message-ID: <9302250601.AA25411@gradient.cis.upenn.edu>
X-Mailer: ELM [version 2.3 PL11-upenn1.7]
Posted-Date: Thu, 25 Feb 93 1:01:33 EST
Newsgroups: fa.think-c
Lines: 24
Date: 25 Feb 93 06:01:47 GMT
Recently I upgraded to Think C 5.04 after using Think C 4.0 for some time.
I just compiled my first program and I got the error.
"last argument to function GetNewWindow does not match prototype"
for the following line of code.
WindowInit()
{
gGrammarWindow = GetNewWindow(128,NIL_POINTER,MOVE_TO_FRONT);
...
...
}
NIL_POINTER is defined as 0 and MOVE_TO_FRONT is defined as -1.
gGrammarWindow is declared as a WindowPtr.
Last time I checked GetNewWindow took three integer arguements. So this is
confusing.
Anyone out there know what could be wrong here?
--
Sylvia Isler
isler@gradient.cis.upenn.edu
Path: ucivax!gateway
From: eric.lavigne@lyon.e3x.fr (" (Tel 72350000)" )
Subject: Communication ToolBox tools
Message-ID: <281348915057eric*eric.lavigne@lyon.e3x.fr>
Autoforwarded: False
Newsgroups: fa.think-c
X400-Received: by /PRMD=inria/ADMD=atlas/C=FR/;
Relayed; 25 Feb 93 12:46:35+0100
X400-Received: by /PRMD=e3x/ADMD=atlas/C=FR/;
Relayed; 25 Feb 93 12:45:50+0000
Lines: 12
Date: 25 Feb 93 11:46:47 GMT
Importance: Normal
Hi,
I'm searching tools for the CommToolBox essentially for :
ZModem, TCP, ADSP...
Do you know where I can found shareware or commercial version
of such tools ?
Thanks.
LAVIGNE@LYON.E3X.FR
Path: ucivax!gateway
From: isler@graphics.cis.upenn.edu (Sylvia-Kay Isler)
Subject: RE: GetNewWindow...NO MORE ANSWERS PLEASE!
Message-ID: <9302251516.AA03987@graphics.cis.upenn.edu>
Posted-Date: Thu, 25 Feb 93 10:16:29 -0500
Newsgroups: fa.think-c
Lines: 7
Date: 25 Feb 93 16:41:27 GMT
Thanks to all who replied to my query. No more answers needed.
Thank you,
Sylvia
Path: ucivax!gateway
From: scotty@verdix.com
Subject: "Invalid Redeclaration" Errors Which Don't Exist
Message-ID: <9302260312.AA18766@verdix.com>
Newsgroups: fa.think-c
Lines: 32
Date: 26 Feb 93 03:12:43 GMT
This might be a newbie question, but I can't find it in a FAQ or after RTFM...
I've attempted three times now to rebuild a pre-existing project by starting
a new project, and then adding the source files and libraries back in the same
order as the original. I also make sure the segments match.
Each time I've tried this, I can't compile all of the source files. I get the
error message "invalid redeclaration" and a function comes up, highlighted, in
one of the source files. If I attempt to compile further source files
individually, I'll get a couple more of the same error.
There is no redeclaration. Not only did all of the source compile properly
already in the previous project, but I've run a search on all of the files to
see if another declaration for each specific function exists -- it does not.
Any idea what would make Think C (5.04) give this error? A friend where I work
had this happen too under the same circumstances; ie. rebuilding a duplicate of
an existing project.
My goal is to take the existing source and modify parts of it to do what I
want, but this problem is keeping me from leaving the starting gate. Thanks
for any pointers...
-------------------------------------------------------------
Disclaimer: I do not represent Verdix Corporation, and my
postings do not represent their opinions.
-------------------------------------------------------------
Scott R. Chilcote
scotty@verdix.com - or -
scotty%verdix.com@uunet.uu.net
Path: ucivax!gateway
From: tim@maths.tcd.ie (Timothy Murphy)
Subject: Re: "Invalid Redeclaration" Errors Which Don't Exist
Message-ID: <9302261518.aa01687@salmon.maths.tcd.ie>
In-Reply-To: scotty@verdix.com's message of 26 Feb 93 03:12:43 GMT
Newsgroups: fa.think-c
Lines: 26
Date: 26 Feb 93 15:18:22 GMT
> There is no redeclaration. Not only did all of the source compile properly
> already in the previous project, but I've run a search on all of the files to
> see if another declaration for each specific function exists -- it does not.
One curious fact that I've observed,
which could possibly be relevant.
Sometimes a project seems to find a header file
that is neither in the Think C tree nor in the project tree.
Eg I couldn't compile the Starter project
because it found an oops.h
from a "Useful code" folder containing some old stuff from Symantec --
as opposed to the correct oops.h in the Think C tree.
(I'm still assuming that this was an error on my part,
though I can't see what it was.
The "Useful code" folder was outside both trees.)
Timothy Murphy
e-mail: tim@maths.tcd.ie
tel: +353-1-2842366 (home/office)
+353-1-7021507 (university)
fax: +353-1-2842295
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Path: ucivax!gateway
From: jgarner@seattleu.edu (Jeff Garner)
Subject: Re: "Invalid Redeclaration" Errors Which Don't Exist
Message-ID: <Pine.3.03.9302261842.A30735-b100000@sumax.seattleu.edu>
In-Reply-To: <9302261518.aa01687@salmon.maths.tcd.ie>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mime-Version: 1.0
Newsgroups: fa.think-c
Lines: 43
Date: 27 Feb 93 02:46:19 GMT
The "problem" is that ThinkC will follow alias-folders, when searching for
files. Try this: place an alias of the #includes folder IN your project
folder. You'll wind up in an infinite loop as ThinkC searches for the file.
In my opinion, this is a bug.
Jeff
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeff Garner Shoestring Software Products jgarner@seattleu.edu
(206) 232-1096 Mercer Island, Washington jgarner@visual.spk.wa.us
On 26 Feb 1993, Timothy Murphy wrote:
> > There is no redeclaration. Not only did all of the source compile properly
> > already in the previous project, but I've run a search on all of the files to
> > see if another declaration for each specific function exists -- it does not.
>
> One curious fact that I've observed,
> which could possibly be relevant.
> Sometimes a project seems to find a header file
> that is neither in the Think C tree nor in the project tree.
> Eg I couldn't compile the Starter project
> because it found an oops.h
> from a "Useful code" folder containing some old stuff from Symantec --
> as opposed to the correct oops.h in the Think C tree.
>
> (I'm still assuming that this was an error on my part,
> though I can't see what it was.
> The "Useful code" folder was outside both trees.)
>
>
> Timothy Murphy
>
> e-mail: tim@maths.tcd.ie
> tel: +353-1-2842366 (home/office)
> +353-1-7021507 (university)
> fax: +353-1-2842295
> s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
>
Path: ucivax!gateway
From: siegel@world.std.com (Rich Siegel)
Subject: Re: "Invalid Redeclaration" Errors Which Don't Exist
Message-ID: <199302270515.AA10238@world.std.com>
Newsgroups: fa.think-c
Lines: 14
Date: 27 Feb 93 05:15:34 GMT
>The "problem" is that ThinkC will follow alias-folders
Since when? Last I was aware, THINK C does -not- follow aliases. It would
be nice if it -did-, though, in some cases.
Invalid Redeclaration errors which appear when creating a new project
from scratch usually indicate that there's an #include or a #define in
the "Prefix" section of the project settings for the old project
document that needs to be brought across into the new project. In
this regard, the Prefix can be a bit inconvenient. One possible
handy feature for a future THINK C might be to support a "project.prfx"
text file in the same folder as the project....
R.
Path: ucivax!gateway
From: jgarner@seattleu.edu (Jeff Garner)
Subject: Re: "Invalid Redeclaration" Errors Which Don't Exist
Message-ID: <Pine.3.03.9302262223.A7179-b100000@sumax.seattleu.edu>
In-Reply-To: <199302270515.AA10238@world.std.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mime-Version: 1.0
Newsgroups: fa.think-c
Lines: 40
Date: 27 Feb 93 06:09:33 GMT
I'm *quite* certain that the problem happened to me as described.
I was using either 5.0.1 or 5.0.2 at the time.
I'll try to duplicate it again...
BTW, since I'm wasting bandwidth here, I might as well ask a question.
What's the best way to edit 'aete' resources without resorting to
commercial utilities? I can't ever get ResEdit 2.1.1 to accept the
various versions of the 'aete' template I have. (too many fields or
something to that effect).
Also: I've developed a C Interface kit for the new Public Address BBS
system for the Mac. Anyone interested in writing modules for the new
system (Ascii/Ansi/GUI), feel free to contact me.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeff Garner Shoestring Software Products jgarner@seattleu.edu
(206) 232-1096 Mercer Island, Washington jgarner@visual.spk.wa.us
On Sat, 27 Feb 1993, Rich Siegel wrote:
> >The "problem" is that ThinkC will follow alias-folders
>
> Since when? Last I was aware, THINK C does -not- follow aliases. It would
> be nice if it -did-, though, in some cases.
>
> Invalid Redeclaration errors which appear when creating a new project
> from scratch usually indicate that there's an #include or a #define in
> the "Prefix" section of the project settings for the old project
> document that needs to be brought across into the new project. In
> this regard, the Prefix can be a bit inconvenient. One possible
> handy feature for a future THINK C might be to support a "project.prfx"
> text file in the same folder as the project....
>
> R.
Path: ucivax!gateway
From: 72567.356@compuserve.com (Jeff Euton)
Subject: Macintosh/TI NuBus Question
Message-ID: <930227191726_72567.356_DHJ60-1@CompuServe.COM>
Newsgroups: fa.think-c
Lines: 24
Date: 27 Feb 93 19:22:53 GMT
BACKGROUND:
Apple's Designing Cards and Drivers publication, as well as the IEEE's NuBus
publication, both show that the /TM1, /TM0, /AD1, and /AD0 signals support
8-bit byte and 32-bit word operations at address 0 (modulo 4).
PROBLEM:
With our 32-bit 1196-compatible Memory PCB, we need to enable only the
appropriate 16-bit RAM bank during 16-bit NuBus write operations. With the
current implementation, we don't see a way of preventing an address 0 modulo 4
write operation from accessing the entire 32-bits of RAM (and erroneously
writing an extra 16-bits). Motorola's /SIZ1 and SIZ0 signals provide this
capability on the local uP bus.
QUESTION:
Is there a NuBus method of performing a 16-bit half-word (doublet) operation
at address 0 (modulo 4, /AD1, and /AD0 both H )? If so, how is it done and
what are the control signal encodings?
Thanks in advance for any and all answers/suggestions - if you're aware of a
better place to post this message question, please let me know.
Jeff Euton
AppleLink: D2204
CIS: 72567,356
Path: ucivax!gateway
From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
Subject: "Invalid Redeclaration" Errors Which Don't Exist
Message-ID: <9302272224.AA19550@chaos.cs.brandeis.edu>
In-Reply-To: Rich Siegel's message of 27 Feb 93 05:15:34 GMT <199302270515.AA10238@world.std.com>
Newsgroups: fa.think-c
Lines: 41
Date: 27 Feb 93 22:24:54 GMT
>>>>> On 27 Feb 93 05:15:34 GMT, Rich Siegel <siegel@world.std.com> said:
>>The "problem" is that ThinkC will follow alias-folders
> Since when? Last I was aware, THINK C does -not- follow aliases. It
> would be nice if it -did-, though, in some cases.
Yep, no folder alias resolution in THINK C 5.0. Sorry.
> Invalid Redeclaration errors which appear when creating a new
> project from scratch usually indicate that there's an #include or a
> #define in the "Prefix" section of the project settings for the old
> project document that needs to be brought across into the new
> project.
My vote is for forgetting to turn on the Require prototypes option.
If you have full ANSI prototypes in your headers, but have old style
definition in your source files, then you'll get an "invalid
redeclaration" error when THINK C sees the definition(*). Turning on
Require prototypes turns off this (ANSI C) restriction.
(*) Actually this only occurs when declaring functions that use narrow
types. Functions that use widened types for all parameters will not
see this error. But hey, we all use Require prototypes at all times
anyway, right? :)
> In this regard, the Prefix can be a bit inconvenient. One possible
> handy feature for a future THINK C might be to support a
> "project.prfx" text file in the same folder as the project....
Well, you can always add a #include "project.prfx" statement to your
prefix, and click on the "copy >>" button to make it the defualt for
all new projects. Although you'll have to customize it if you put more
than one project in a single folder...
-phil
----
Phil Shapiro Software Engineer
Language Products Group Symantec Corporation
Internet: phils@cs.brandeis.edu
"relatively inexperienced"
Path: ucivax!gateway
From: david@cs.ucla.edu (David Dantowitz)
Subject: Looking for an example of sytem 7 popupMenuProc use.
Message-ID: <9302281232.AA11471@oahu.cs.ucla.edu>
Newsgroups: fa.think-c
Lines: 10
Date: 28 Feb 93 20:02:47 GMT
Title says it all.
Thanks.
(Have 18 developer CDs, but no CDROM player, we're a little short on
resources at work. I'm sure there's an example there, but...
(Is there an ftp-able example on ftp.apple.com?))
David